Combine values that start with the same value in dictionary